/**
 * Created by kevin on 2017/6/12.
 */
function Version(v) {
    this.version = v;

    this.next = function next() {
        var version_coms = this.version.split('.');
        var last_i = parseInt(version_coms[2]);
        version_coms[2] = String(++last_i);
        var u_version = version_coms.join(".");
        return u_version;
    }


}

module.exports = Version;